<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport"
          content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>我的</title>
    <link rel="stylesheet" type="text/css" href="../css/aui.css"/>
    <link rel="stylesheet" type="text/css" href="../css/common.css"/>
    <style>
        body {
            font-size: 14px;
            background: #f3f3ff;
        }

        header.headerBuyer {
            background: url(../image/seller.jpg) !important;
        }

        header {
            background: url(../image/buyer.jpg);
            position: relative;
            padding: 12% 5%;
            color: #fff;
            font-weight: 400;
            box-sizing: content-box;
            overflow: hidden;
        }

        header .aui-input-row:first-child:after {
            border: none;
        }

        header .aui-border-r:after {
            bottom: -60%;
            top: 18%;
        }

        header .imgRadius {
            border-radius: 50%;
            width: 80px;
            overflow: hidden;
            height: 80px;
            margin-right: 15px;
        }

        header .imgRadius img {
            width: 100%;
        }

        .divTable {
            display: table;
        }

        .divCell {
            display: table-cell;
            vertical-align: middle;
        }

        .my-menu {
            position: absolute;
            width: 100%;
            height: 45px;
            line-height: 45px;
            left: 0;
            bottom: 0;
            text-align: center;
            background: #ffffff;
            filter: Alpha(opacity=50);
            background: rgba(0, 0, 0, 0.2) none repeat scroll 0 0 !important;
            color: #ffffff;
            font-size: 14px;
        }

        .aui-grid-sixteen li p {
            font-size: 12px;
        }

        .aui-list-view {
            margin-bottom: 0;
        }

        .aui-badge {
            background: none;
        }

        .my-nav {
            padding-bottom: 10px;
            margin-bottom: 10px;
        }

        .my-nav p {
            font-size: 12px;
        }

        .my-nav.aui-grid-sixteen li:after {
            border: none
        }

        .my-nav li {
            padding: 0;
        }

        .my-nav.aui-grid-sixteen li .aui-iconfont {
            height: 30px;
            color: #9c9c9c;
        }

        .aui-list-view-cell:last-child:after {
            border: none;
        }

        .aui-grid-sixteen:after {
            /*border:none;*/
        }

        .w20 {
            width: 20%;
        }

        .aui-badge {
            color: #9c9c9c;
        }

        .aui-list-view i.aui-iconfont {
            border-radius: 50%;
        }

        .aui-list-view .renzheng {
            background: #ff8470 !important;
        }

        .aui-list-view .dingdan {
            background: #ffcb3d !important;
        }

        .aui-list-view .fabu {
            background: #8ca6c6 !important;
        }

        .aui-list-view .fapiao {
            background: #ffa544 !important;
        }

        .aui-list-view .shouhuo {
            background: #58c3a8 !important;
        }

        .aui-list-view .shoucang {
            background: #75d38f !important;
        }

        .aui-list-view .saoma {
            background: #f58daf !important;
        }

        .aui-list-view .yijian {
            background: #baa3d3 !important;
        }

        .aui-list-view .shezhi {
            background: #84a9cc !important;
        }

        .my-list {
            margin-bottom: 10px;
        }

        .aui-list-view:after {
            top: 100%;
        }

        .seller {
            display: none;
        }

        .aui-list-view-cell:after {
        }

        .aui-content .aui-list-view:last-of-type {
            margin: 0;
        }

        .contains {
            overflow: hidden;
        }
    </style>
</head>
<body>
<header>
    <div class="aui-input-row divTable">
        <div class="imgRadius">
            <img src="../image/touxiang.jpg">
        </div>
        <div class="name divCell">潮纺花料印刷有限公司</div>
    </div>
    <div class="my-menu">
        <div class="aui-col-xs-6 aui-border-r buyer" tapmode onclick="openToTwo('my/myAssets')"><i
                class="aui-iconfont aui-icon-rechargefill"></i>我的资产
        </div>
        <div class="aui-col-xs-6 " tapmode onclick="openToTwo('my/myTeam')"><i
                class="aui-iconfont aui-icon-friendfill"></i>我的合伙人
        </div>
    </div>
</header><!-- /header -->
<div class="contains">
    <div class="scroll">
        <div class="asui-content buyer">
            <ul class="aui-list-view my-list ">
                <li class="aui-list-view-cell" tapmode onclick="openToTwo('my/comRenzheng')">
                    <a class="aui-arrow-right">
                        <i class="aui-iconfont  aui-icon-safe aui-bg-info renzheng"></i>认证管理
                    </a>
                </li>
                <li class="aui-list-view-cell" tapmode onclick="openToTwo('my/orderManage')">
                    <a class="aui-arrow-right">
                        <i class="aui-iconfont aui-icon-form aui-bg-info dingdan"></i>订单管理
                    </a>
                </li>
            </ul>
            <ul class="aui-list-view my-list ">
                <li class="aui-list-view-cell" tapmode onclick="openToTwo('invoice')">
                    <a class="aui-arrow-right">
                        <i class="aui-iconfont aui-icon-punch aui-bg-info fapiao"></i>发票信息
                    </a>
                </li>
                <li class="aui-list-view-cell" tapmode onclick="openToTwo('my/favorite')">
                    <a class="aui-arrow-right">
                        <i class="aui-iconfont aui-icon-favor aui-bg-info shoucang"></i>我的收藏
                    </a>
                </li>
                <li class="aui-list-view-cell" tapmode onclick="openToTwo('my/addressList')">
                    <a class="aui-arrow-right">
                        <i class="aui-iconfont aui-icon-location  aui-bg-info shouhuo"></i>收货地址
                    </a>
                </li>
                <li class="aui-list-view-cell" tapmode onclick="">
                    <a class="aui-arrow-right">
                        <i class="aui-iconfont aui-icon-scan aui-bg-info saoma"></i>扫码收货
                    </a>
                </li>
            </ul>
            <ul class="aui-list-view my-list ">
                <li class="aui-list-view-cell" tapmode onclick="openToTwo('my/sendProblem')">
                    <a class="aui-arrow-right">
                        <i class="aui-iconfont  aui-icon-post aui-bg-info yijian"></i>意见反馈
                    </a>
                </li>
                <li class="aui-list-view-cell" tapmode onclick="openToTwo('my/setting')">
                    <a class="aui-arrow-right">
                        <i class="aui-iconfont aui-icon-settings aui-bg-info shezhi"></i>设置
                    </a>
                </li>
            </ul>
        </div>
        <!--判断用户类型，控制显示与否-->
        <div class="supplier">
            <ul class="aui-list-view my-list ">
                <li class="aui-list-view-cell" >
                    <a class="aui-arrow-right">
                        <i class="aui-iconfont  aui-icon-recharge aui-bg-info renzheng"></i>今日营业额
                        <span class="menuRight" >50000元</span>
                    </a>
                </li>
                <li class="aui-list-view-cell" >
                    <a class="aui-arrow-right">
                        <i class="aui-iconfont  aui-icon-rechargefill aui-bg-info shoucang"></i>历史营业额
                        <span class="menuRight" >50000元</span>
                    </a>
                </li>
                <li class="aui-list-view-cell" tapmode onclick="openToTwo('my/stockList')">
                    <a class="aui-arrow-right">
                        <i class="aui-iconfont  aui-icon-deliver aui-bg-info fapiao"></i>商品库存
                    </a>
                </li>
            </ul>
        </div>
    </div>
</div>

<footer class="aui-nav" id="aui-footer">
    <ul class="aui-bar-tab">
        <li  id="tabbar1" tapmode onclick="randomSwitchBtn(this,'首页',0)">
            <span class="aui-iconfont aui-icon-home"></span>
            <p>
                首页
            </p>
        </li>
        <li id="tabbar2" tapmode onclick="randomSwitchBtn(this,'分类',1)">
            <span class="aui-iconfont aui-icon-cascades"></span>
            <p>
                分类
            </p>
        </li>
        <li id="tabbar3" tapmode onclick="randomSwitchBtn(this,'购物车',2)">
            <span class="aui-iconfont aui-icon-cart"></span>
            <p>
                购物车
            </p>
        </li>
        <li id="tabbar4" class="active"  tapmode onclick="randomSwitchBtn(this,'进货单',3)">
            <span class="aui-iconfont aui-icon-people"></span>
            <p>
                我的
            </p>
        </li>
    </ul>
</footer>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/myInfo.js"></script>
<script type="text/javascript" src="../script/jquery-1.11.3.js"></script>
<script type="text/javascript" src="../script/iscroll.js"></script>
<script type="text/javascript">
    var imgBase64;
    $(function () {
        //区域滚动,商品的个数那些的
        $(".contains").height(getContainsH());
        setTimeout(function () {
            var AttrScroll = new IScroll(".contains", {
                probeType: 1,
                mouseWheel: true,
                click: true
            });
        }, 200)
    })
    //区域滚动需要计算出contain是的高度
    function getContainsH() {
        var bodyH = $("body").height();
        var headerH = $("header").innerHeight();
        var footerH = $("footer").height();
        return bodyH - headerH - footerH-5;
    }
</script>
</html>